﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PcaCore.BOL.Pca
{
    public class oEmpresa
    {
        [Required]
        [Display(Name = "Empresa id")]
        [StringLength(2, MinimumLength = 2)]
        public string empresa_id { get; set; }

        [Required]
        [Display(Name = "Codigo(Ruc)")]
        [StringLength(11, MinimumLength = 11)]
        public string codigo { get; set; }

        [Required]
        [Display(Name = "Nombre")]
        public string nombre { get; set; }

        [Display(Name="Nombre comercial")] 
        public string nombre_comercial { get; set; }

        [Required]
        [Display(Name = "Direccion")]
        public string direccion { get; set; }

        public DateTime fecha_registro { get; set; }

        [Display(Name = "Activo")]
        public bool activo { get; set; }
        public bool eliminado { get; set; }
    }
}
